<div class="flex flex-col">
  <div class="p-10">
    <h1 class="text-2xl font-bold">Missing credentials for Git repository</h1>
    <p class="mt-2 text-gray-400">Please provide your Github or Gitlab credentials to continue.</p>
    <div class="flex flex-row gap-4">
      <div role="tooltip" data-tip="This feature is coming soon!" class="tooltip">
        <%= link_to user_github_omniauth_authorize_path, class: "mt-6 btn btn-primary", disabled: true, data: { turbo: false, disable_with: t(".redirecting") } do %>
          <iconify-icon icon="mdi:github" width="24" height="24"></iconify-icon>
          Connect to Github
        <% end %>
      </div>
      <div role="tooltip" data-tip="This feature is coming soon!" class="tooltip">
        <%= link_to user_github_omniauth_authorize_path, class: "mt-6 btn btn-primary", disabled: true, data: { turbo: false, disable_with: t(".redirecting") } do %>
          <iconify-icon icon="mdi:gitlab" width="24" height="24"></iconify-icon>
          Connect to Gitlab
        <% end %>
      </div>
      <%= link_to "Manually Add Credentials", providers_path, class: "mt-6 btn btn-ghost", data: { turbo: false } %>
    </div>
    <div class="mt-6">
      <%= link_to(
        "Deploy from container registry instead →",
        new_project_path(provider_type: Provider::REGISTRY_TYPE),
        class: "inline-block mt-2 underline underline-offset-4 text-blue-300 hover:text-blue-200 text-sm",
      ) %>
    </div>
  </div>
</div>
